/*
 * Copyright (c) 2006, 2022, webrx.cn All rights reserved.
 *
 */
package cn.webrx;

/**
 * <p>Project: javase202202 - For6
 * <p>Powered by Lisi On 2022-06-01 14:47:29
 * <p>Created by IntelliJ IDEA
 *

 * @version 1.0
 * @since 17
 */
public class For6 {
    public static void main(String[] args) {
        int n = 15;
        for (int i = 1; i <= 20; i += 2) {
            System.out.println(" ".repeat(n--) + "*".repeat(i));
        }
        n+=2;
        for (int i = 17; i >=1; i -= 2) {
            System.out.println(" ".repeat(n++) + "*".repeat(i));
        }
    }
}
